package com.yby6.system.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.yby6.system.mapper.SmsMapper;
import com.yby6.system.domain.Sms;
import com.yby6.system.service.SmsService;

import java.util.List;

/**
 * ClassName: Loginfo
 * Description: 杨不易网站 :www.yangbuyi.top
 * date: 2021/5/11
 *
 * @author TeouBle
 * @author yangbuyi
 * @since JDK 1.8
 **/

@Service
public class SmsServiceImpl implements SmsService {

	@Resource
	private SmsMapper smsMapper;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return smsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Sms record) {
		return smsMapper.insert(record);
	}

	@Override
	public Sms selectByPrimaryKey(Long id) {
		return smsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(Sms record) {
		return smsMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<Sms> selectSmsList() {
		return smsMapper.selectSmsList();
	}

}

